package com.yubest.designpattern.behavior.command;

/**
 * 灯
 *
 * @Author: hweiyu
 * @Date: 2022/10/26 17:11
 */
public class Light {

    public void on() {
        System.out.println("light is on!");
    }

    public void off() {
        System.out.println("light is off!");
    }
}
